package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCaClass;
import com.dingreading.cloud.soms.entity.table.MstCaClassTableDef;
import com.dingreading.cloud.soms.mapper.MstCaClassMapper;
import com.dingreading.cloud.soms.service.MstCaClassService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Service
public class MstCaClassServiceImpl extends BaseServiceImpl<MstCaClassMapper, MstCaClass, MstCaClassTableDef> implements MstCaClassService {


    @Override
    protected MstCaClassTableDef getTable() {
        return MstCaClassTableDef.mstCaClass;
    }

    @Override
    public List<MstCaClass> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
}
